home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************/
- /* */
- /* Source - SetCalendar.c */
- /* Author - Alexander S. Colwell, Copyright © 1990 */
- /* */
- /* Purpose - This is Calendar simulator. */
- /* */
- /************************************************************************/
-
- #include "Calendar.h" /* Calendar defs */
-
- #ifndef ExtArea /* Check if debugging mode */
- #undef main /* Remove previous definition */
- #define main SetCalendar /* Set debugging procedure name */
- #endif
-
- pascal void main(CCalendar **eaObject,
- short *itsMonth, short *itsYear, long *itsSelect)
- {
- (*eaObject)->dirty = TRUE; /* Mark external area dirty */
-
- (*eaObject)->month = *itsMonth;/* Reset calendar date/selection */
- (*eaObject)->year = *itsYear;
- (*eaObject)->daySelect = *itsSelect;
- }
-